Optimal. Leaf size=58 \[ \frac{2 a E\left (\left .\frac{1}{2} (e+f x)\right |2\right )}{f \sqrt{\cos (e+f x)} \sqrt{d \sec (e+f x)}}-\frac{2 b}{f \sqrt{d \sec (e+f x)}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0492027, antiderivative size = 58, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 23, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.13, Rules used = {3486, 3771, 2639} \[ \frac{2 a E\left (\left .\frac{1}{2} (e+f x)\right |2\right )}{f \sqrt{\cos (e+f x)} \sqrt{d \sec (e+f x)}}-\frac{2 b}{f \sqrt{d \sec (e+f x)}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3486
Rule 3771
Rule 2639
Rubi steps
\begin{align*} \int \frac{a+b \tan (e+f x)}{\sqrt{d \sec (e+f x)}} \, dx &=-\frac{2 b}{f \sqrt{d \sec (e+f x)}}+a \int \frac{1}{\sqrt{d \sec (e+f x)}} \, dx\\ &=-\frac{2 b}{f \sqrt{d \sec (e+f x)}}+\frac{a \int \sqrt{\cos (e+f x)} \, dx}{\sqrt{\cos (e+f x)} \sqrt{d \sec (e+f x)}}\\ &=-\frac{2 b}{f \sqrt{d \sec (e+f x)}}+\frac{2 a E\left (\left .\frac{1}{2} (e+f x)\right |2\right )}{f \sqrt{\cos (e+f x)} \sqrt{d \sec (e+f x)}}\\ \end{align*}
Mathematica [A] time = 0.27413, size = 54, normalized size = 0.93 \[ \frac{2 a E\left (\left .\frac{1}{2} (e+f x)\right |2\right )-2 b \sqrt{\cos (e+f x)}}{f \sqrt{\cos (e+f x)} \sqrt{d \sec (e+f x)}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] time = 0.258, size = 916, normalized size = 15.8 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{b \tan \left (f x + e\right ) + a}{\sqrt{d \sec \left (f x + e\right )}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{\sqrt{d \sec \left (f x + e\right )}{\left (b \tan \left (f x + e\right ) + a\right )}}{d \sec \left (f x + e\right )}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{a + b \tan{\left (e + f x \right )}}{\sqrt{d \sec{\left (e + f x \right )}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{b \tan \left (f x + e\right ) + a}{\sqrt{d \sec \left (f x + e\right )}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]